Skip to content

feat: redirect_uri for callback route - #19

Merged
JerryImMouse merged 3 commits into
masterfrom
feat/redirect-on-callback
Aug 31, 2026
Merged

feat: redirect_uri for callback route#19
JerryImMouse merged 3 commits into
masterfrom
feat/redirect-on-callback

Conversation

@JerryImMouse

@JerryImMouse JerryImMouse commented Aug 31, 2026

Copy link
Copy Markdown
Owner

What
Adds a new config field app.redirect_uri to specify url to redirect user to on successfull authorization.
What about errors? Currently they are being returned straight to the user's face. Idk how to correctly resolve this now.
Probably some query arguments along with the redirect

Also, fixed some documentation on callback and auth routes. They had their query params as a body :P

Resolves #11
Why
The user should look at the pretty success page instead of the blank white... page. So, this is required.

Checklist

  • cargo fmt passes
  • cargo clippy passes
  • README / OpenAPI updated, if the public API changed

@JerryImMouse
JerryImMouse enabled auto-merge (squash) August 31, 2026 09:55
@JerryImMouse
JerryImMouse merged commit 4774ce7 into master Aug 31, 2026
7 checks passed
@JerryImMouse
JerryImMouse deleted the feat/redirect-on-callback branch August 31, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: /api/auth/callback should have an ability to redirect

1 participant